package com.woniu.service.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class FixedOrCurrentBuyDto {

    private Integer payId;

    private Long userId; //购买人id

    private String productType; //购买产品类型,fund/gold/fixed/current,基金/黄金/定期/活期

    private String codeId; //购买的产品代码

    private String name;

    private Integer buyAmount; //购买金额

    private BigDecimal rateOfReturn; //年化收益率

    private Integer fixedDay; //定期理财产品的时长

    private String buyTime; //买入时间
}
